home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
023a
/
fm40.zip
/
FMKEY.HLP
< prev
next >
Wrap
Text File
|
1991-10-06
|
4KB
|
77 lines
*********************** Function Key Re-definition Help **********************
This special form allows you to change how function keys are interpreted when
executing your form. The only function key that can't be altered is F1, which
is always used for help.
There are two sides to this form. The left side is used for function key
description information. When the F1 help button is pressed during form
execution, this information is displayed in the help pop-up window.
The right side tells Form Master what to do when the key is pressed. The
following table shows commands which can be defined for function keys 2
through 10.
Default
Key Help description for key Command
----- -------------------------- --------
2 Reset form (Start over) RST
3 Go to next/prev page PAG
4 Perform field look-ups LUP
5 Temporarily go to DOS DOS
6 Perform math operations MTH
7 Load fields from a file LOD
8 Save fields to a file SAV
9 Print form to a file PRF
10 Print form to your printer PRP
Additional commands:
- TYP xxxx List the file "xxxx" one page at a time
- DOS xxxx Perform the DOS command "xxxx"
(i.e. to see directory of forms use: "DOS DIR *.frm")
- EXE xxxx Run the program "xxxx". You must include the
".EXE" or ".COM" extension in the program name.
(i.e. if you would normally start your editor with
"ED LETTER.DOC" use: "EXE ED.EXE LETTER.DOC")
Example:
Consider a form named "ACCNT". Suppose you want the person using this form to
only be able to reset the form and to print the form. Suppose further you
want to define these functions as F2 and F3 respectively. Then the first two
rows should look like:
F2 Reset form (Start over) RST
F3 Print form PRP
The remaining 7 rows should be blank. To assist the person using the form,
you should create a help file with your editor by the name of ACCNT.HLP to
explain how to use it. This help file should be in the same directory as
ACCNT.FRM.
To facilitate filling in function key descriptions, the left side fields have
been defined as look-up fields. For instance, if you place "LOD" in a left
side field (leaving the cursor in that field) and press Alt-F, "Load fields
from a file" will be substituted.
WARNING: Use of this form will mean the generic help file, FMEXEC.HLP, is no
longer be accessible. Recall that during execution pressing F1 displays a
help pop-up window. At this point you can (1) press F1 again to see the
generic help file, FMEXEC.HLP, or (2) press F2 to see a form specific help
file which has the same name as your form but a ".HLP" extension, or (3) any
other key to resume execution. If you redefine the function keys, Form Master
assumes the generic help file no longer applies. Therefore, after pressing F1
you will have 2 choices, (1) press F1 again to see a form specific help file,
or (2) any other key to resume. If other people will be using your form you
should provide a custom help file for it.
Notes:
IF YOU DO NOT WANT TO RE-DEFINE THE FUNCTION KEYS, LEAVE ALL FIELDS BLANK
BEFORE EXITING THIS FORM. Only if all fields are blank will Form Master
assume that you want to use the default key definitions. If you choose to re-
define the function keys, only those functions you fill in will be possible.
Entries made on this form are not checked until form execution. Improperly
defined function keys cause an error message to be displayed when tried.